<?php

class authenticationActions extends sfActions {

    public function executeLogin(sfWebRequest $request){
        $this->getUser()->setAuthenticated(true);
        $this->redirect('@homepage');
    }

    public function executeLogout(sfWebRequest $request){
        $this->getUser()->setAuthenticated(false);
        $this->redirect('@homepage');
    }

    public function executeChange_password(sfWebRequest $request){

    }

}